d766caed41af04e094b62e802ed614d91f9cf2fc,src/main/java/org/hqu/production_ms/service/impl/CustomServiceImpl.java,CustomServiceImpl,update,#Custom#,65

Before Change



	@Override
	public CustomResult update(Custom custom) {
		customMapper.updateByPrimaryKeySelective(custom);
		return CustomResult.ok();
	}

	@Override

After Change



	@Override
	public CustomResult update(Custom custom) {
		int i = customMapper.updateByPrimaryKeySelective(custom);
		if(i>=0){
			return CustomResult.ok();
		}else{
			return null;
		}
	}